package com.example.cardserver.mapper;

import com.example.cardserver.entity.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsMapper {
    Goods findById(Integer id);

    Goods findByTitle(String title);
    
    List<Goods> findList();
    
    Integer changePicture(@Param("id") Integer id, @Param("picture") String picture);
    
}
